package com.xyz.entity.mapper;

import com.xyz.entity.pojo.PartInnOrder;
import com.xyz.request.PartInnOrderRequest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PartInnOrderMapper {

    Long insert(PartInnOrder partInnOrder);

    int delete(@Param("id") Long id);

    List<PartInnOrder> selectPartInnOrders(@Param("param") PartInnOrderRequest partInnOrderRequest);

    PartInnOrder selectPartInnOrdersById(@Param("id") Long id);

    List<PartInnOrder> selectPartInnOrdersByBusinessId(@Param("businessId") Long businessId);

}
